//---------------------------------------------------------------------------

#ifndef DMCustosH
#define DMCustosH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "PHTable.h"
#include "StCustos.h"
//---------------------------------------------------------------------------
class TDMCustos1 : public TDataModule
{
__published:	// IDE-managed Components
        PHTable *TBGEPEF;
        PHTable *TBGEPAT;
        PHTable *TBGEPSC;
        PHTable *TBGEPDP;
        PHTable *TBPesosT;
    PHTable *TBPesos;
        PHTable *TBGera;
        PHTable *TBCustos;
        void __fastcall TBPesosTDiferenca17GetGT(int Elemento,
          AnsiString &Resultado, PHDataSource *DS);
        void __fastcall TBPesosTFaturado131GetGT(int Elemento,
          AnsiString &Resultado, PHDataSource *DS);
        void __fastcall TBPesosAfterOpen(TObject *Sender);
        void __fastcall TBPesosTAfterOpen(TObject *Sender);
        void __fastcall TBGEPDPAfterOpen(TObject *Sender);
        void __fastcall TBGeraAfterOpen(TObject *Sender);
        void __fastcall TBGEPEFAfterOpen(TObject *Sender);
        void __fastcall TBGEPATAfterOpen(TObject *Sender);
        void __fastcall TBGEPSCAfterOpen(TObject *Sender);
        void __fastcall TBCustosAfterOpen(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TDMCustos1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TDMCustos1 *DMCustos1;
//---------------------------------------------------------------------------
#endif
